convert.tostring with datetime string

91

convert.tostring with datetime string -

 // create date time 2019-11-12 22:45:12.004
 DateTime date = new DateTime(2019, 11, 12, 22, 45, 12, 004);
 string date_str = date.ToString("dd/MM/yyyy HH:mm:ss");

Comments

Submit
0 Comments